<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      
      // step 步长
      for (let i = 0; i < 5; i = i + 2) {
        console.log(i);
      }
      /*    
      let i = 0;
      for (; i < 5; ) {
        console.log(i);
        i++;
      } 
      */
    </script>
  </body>
</html>
